<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by Eduardo (Los bombos) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="SimpleTest">
		<xs:annotation>
			<xs:documentation>Comment describing your root element</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="LeafElement"/>
				<xs:element ref="BranchElement"/>
				<xs:choice>
					<xs:element ref="FirstOption"/>
					<xs:element name="SecondOption" type="xs:string"/>
				</xs:choice>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="LeafElement" type="xs:string"/>
	<xs:element name="BranchElement">
		<xs:complexType>
			<xs:attribute name="leafAttribute" type="xs:positiveInteger"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="FirstOption">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="OptionText" type="xs:string"/>
				<xs:element name="OptionNumber" type="xs:integer"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
